<?php 

	require('includes/connect.php');
	
	session_start();

?>
<div id="wrapper">

			<div id="wrapCenter">

					<div id="header">

						
						<div id="logoComm">
						
							<a href="index.php"><img src="images/logo4_beta.png" width="232px" height="67px" border="0" style="float: left;"></a>

						</div>

						<div id="headerSubMenu">

							<?php

								if(isset($_SESSION['user_id']))

								{

							?>

							<div id="headerSubMenu1" style="width: 465px;">

								<ul>

									<li>
										
										<span class="regFreeLink"><b>Welcome</b>&nbsp;										
											<a href="myhome.php"><strong><?php echo $_SESSION['fname'];?></strong></a>										
										</span>
										
									</li>

									<li class="listSep">.</li>

									<li><span class="regFreeLink"><a href="Settings.php">Settings</a></span></li>

									<li class="listSep">.</li>

									<li><a href="mypage.php">Profile</a></li>

									<li class="listSep">.</li>

									<li><a href="logout_sessionEnd.php">Logout</a></li>

									<li class="listSep">.</li>

									<li><a href="help.php">Help</a></li>

									<li class="listSep">.</li>

									<li><a href="feedback.php">Feedback</a></li>

								</ul>

							</div>

								<?php
									
									}

									else

									{

								?>

							<div id="headerSubMenu2">

								<ul>

									<li><span class="regFreeLink"><a href="register.php">Register Free</a></span></li>

									<li class="listSep">|</li>

									<li><a href="login.php">Log-in</a></li>

									<li class="listSep">|</li>

									<li><a href="help.php">Help</a></li>

									<li class="listSep">|</li>

									<li><a href="feedback.php">Feedback</a></li>
						
								</ul>

								<?php
				
									}	
				
								?>

							</div>

						</div><br /><br />

						<div id="headerMenu">

							<ul>
								
								<li><a href="search.php">Casting</a></li>

								<li class="listSep">|</li>


								<li><a href="#">Portfolios</a></li>

								<li class="listSep">|</li>

								<li><a href="#">Audio</a></li>

								<li class="listSep">|</li>

								<li><a href="#">Photos</a></li>

								<li class="listSep">|</li>

								<li><a href="#">Videos</a></li>
								
								<li class="listSep">|</li>

								<li><a href="#">Events</a></li>
								
								<li class="listSep">|</li>

								<li><a href="#">News</a></li>

								<li>
									
									<div id="search" style="margin-top: -3px;">

										<form name="form" action="search.php" method="get">

											<input type="text" name="q" size="28" onblur="if(this.value=='') {this.value = 'Eg. actors, models, auditions'; this.style.color='#888888';}" onfocus="if (this.value=='Eg. actors, models, auditions') {this.value = '';this.style.color='#000000';}" value="Eg. actors, models, auditions" name="q" style="color: rgb(136, 136, 136);"/>
											 
											<input type="submit" name="Submit" value="Search" class="searchbuttn"/>

										</form>

									</div>

								</li>


							</ul>

						</div>


					</div>

					<div class="clear"></div>

					<div class="breadcrumbDiv">

						<div class="breadcrumb floatleft">

							<a href="index.php">Home</a> > <?php echo $title;?>

						</div>

					</div>
